import java.io.*;
import java.util.*;

public class RunList{

	public static void main(String[] args){
		Pokemon[] a = new Pokemon[151];
		String id;
		String name;
		String hp;
		String att;
		String def;
		String spAtt;
		String spDef;
		String speed;
		int pos;
		int count;
		
		try{
			pos = 0;
			count = 0;
			BufferedReader br = new BufferedReader(new FileReader("Table.txt"));
			String line = br.readLine();
			while(line != null){
				id = line.substring(0,3);
				line = line.substring(10);
				pos = line.indexOf("*");
				name = line.substring(0, pos);
				
				line = line.substring (pos + 2);
				pos = line.indexOf("*");
				hp = line.substring(0, pos);
				
				line = line.substring (pos + 2);
				pos = line.indexOf("*");
				att = line.substring(0, pos);
				
				line = line.substring (pos + 2);
				pos = line.indexOf("*");
				def = line.substring(0, pos);
				
				line = line.substring (pos + 2);
				pos = line.indexOf("*");
				spAtt = line.substring(0, pos);
				
				line = line.substring (pos + 2);
				pos = line.indexOf("*");
				spDef = line.substring(0, pos);
				
				line = line.substring (pos + 2);
				pos = line.indexOf("*");
				speed = line.substring(0, pos);
						
				a[count] = new Pokemon(id,name,hp,att,def,spAtt,spDef,speed);
				
				line = br.readLine();
				count++;
			}
			System.out.println("");
			System.out.println("Done adding Pokemon to an array.");
			System.out.println("Do you have a small penis? (yes/no)");
			
		    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String input = reader.readLine();
			
			if(input.toLowerCase().contains("yes")){
				System.out.println("At least you admit it.");
			for(int counter = 0; counter < 151; counter++){
				System.out.println(a[counter].getInfo());
			
			}
			}
			
		}
		catch(Exception e){
		e.printStackTrace();
		}
	}
}